<template>
	<view style="width: 100%; height: 100%;">
		<view class="leader-manager-error">
			<view v-if="error_status == 0" class="error-title">
				{{error_title}}
			</view>
			<view class="connect-ng" v-else>
				<view>
					{{error_title}}
				</view>
				<!-- <view class="download-btn">
					<image class="download-icon" src="/static/leader-m-download.png" mode=""></image>
					下载团长插件工具
				</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"leader-manager-error",
		props: {
			error_status: 0,
			error_title: ''
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
	
	.leader-manager-error {
		border: 1px wheat dashed;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		border-radius: 3px;
	}
	
	.error-title {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: wheat;
	}

	.connect-ng {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: wheat;
	}
	
	.download-btn {
		padding: 6px 8px;
		border: 1px wheat dashed;
		border-radius: 3px;
		font-size: 12px;
	}

	.download-btn:hover {
		cursor: pointer;
	}
	
	.download-btn:active {
		background-color: rgba(202, 158, 69, 0.3);
	}
	
	.download-icon {
		width: 12px; height: 12px; margin-right: 5px;
		margin-bottom: -2px;
	}

</style>